 // 测试登陆的接口 
        
 function login(options) {
    const {data = {} , cb} = options ;
    ajax({
        type : 'post' ,
        path : 'http://43.138.81.225/php/login.php' ,
        data ,
        success: res => {
            cb(res);
        }
    })

}

function reg(options) {
    const {data = {} , cb} = options ;
    ajax({
        type : 'post' ,
        path : 'http://43.138.81.225/php/reg.php' ,
        data ,
        success: res => {
            cb(res);
        }
    })
}


